@model BTCPayServer.Storage.Services.Providers.AzureBlobStorage.Configuration.AzureBlobStorageConfiguration
@{
    ViewData.SetLayoutModel(new LayoutModel(nameof(ServerNavPages.Files), StringLocalizer["Azure Blob Storage"])
        .SetCategory(WellKnownCategories.Server));
}

<div class="sticky-header">
    <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
            <li class="breadcrumb-item">
                <a asp-action="Files" text-translate="true">Files</a>
            </li>
            <li class="breadcrumb-item">
                <a asp-action="Storage" text-translate="true">Storage Provider</a>
            </li>
            <li class="breadcrumb-item active" aria-current="page" text-translate="true">Provider</li>
        </ol>
        <h2>@ViewData["Title"]</h2>
    </nav>
</div>
<partial name="_StatusMessage" />

<div class="row">
    <div class="col-xl-10 col-xxl-constrain">
        <form method="post">
            <div class="form-group">
                <label asp-for="ContainerName" class="form-label" text-translate="true">Container Name</label>
                <input asp-for="ContainerName" class="form-control" />
                <span asp-validation-for="ContainerName" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="ConnectionString" class="form-label" text-translate="true">Connection String</label>
                <input asp-for="ConnectionString" class="form-control" />
                <span asp-validation-for="ConnectionString" class="text-danger"></span>
            </div>

            <button type="submit" class="btn btn-primary" name="command" value="Save" text-translate="true">Save</button>
            <a asp-action="Storage" asp-route-forceChoice="true" class="ms-2" text-translate="true">Change Storage provider</a>
        </form>
    </div>
</div>

@section PageFootContent {
    <partial name="_ValidationScriptsPartial" />
}
